package com.ld.hpfs.web.controller;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ld.hpfs.service.DataTranService;

@Controller
public class DataTranController {

	@Autowired
	private DataTranService dataTranService;

	// 处理回调
	@RequestMapping(value = "/DataTran")
	@ResponseBody
	public void getcontact(HttpSession session, HttpServletRequest request,
			HttpServletResponse response, PrintWriter writer) {
			dataTranService.doProcess(session, request, response, writer);
	}
}

